package com.student.dong.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * (注册)学生信息对象 algs_student
 * 
 * @author ruoyi
 * @date 2023-03-15
 */
public class AlgsStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 注册ID */
    private Long studentId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String studentName;

    /** 学号 */
    @Excel(name = "学号")
    private String studentNumber;

    /** 性别 */
    @Excel(name = "性别")
    private String studentSex;

    /** 住址 */
    @Excel(name = "住址")
    private String studentAdd;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date studentDate;

    /** 学生专业 */
    @Excel(name = "学生专业")
    private String studentMajor;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String studentPhone;

    /** 教务系统全部学生ID;外键 */
    @Excel(name = "教务系统全部学生ID;外键")
    private Long allStudentId;

    /** 备用列 */
    @Excel(name = "备用列")
    private Long studentBy1;

    /** 备用列 */
    @Excel(name = "备用列")
    private String studentBy2;

    /** 备用列 */
    @Excel(name = "备用列")
    private String studentBy3;

    /** 头像 */
    @Excel(name = "头像")
    private String studentHeadImage;

    /** 密码;初次注册于学号一致 */
    @Excel(name = "密码;初次注册于学号一致")
    private String studentPassword;

    /** 教师ID（外键） */
    @Excel(name = "教师ID", readConverterExp = "外=键")
    private Long teacherId;

    /** 账号状态（外键） */
    @Excel(name = "账号状态", readConverterExp = "外=键")
    private Long typeId;

    /** 用户表（主表） */
    @Excel(name = "用户表", readConverterExp = "主=表")
    private Long userId;

    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setStudentNumber(String studentNumber) 
    {
        this.studentNumber = studentNumber;
    }

    public String getStudentNumber() 
    {
        return studentNumber;
    }
    public void setStudentSex(String studentSex) 
    {
        this.studentSex = studentSex;
    }

    public String getStudentSex() 
    {
        return studentSex;
    }
    public void setStudentAdd(String studentAdd) 
    {
        this.studentAdd = studentAdd;
    }

    public String getStudentAdd() 
    {
        return studentAdd;
    }
    public void setStudentDate(Date studentDate) 
    {
        this.studentDate = studentDate;
    }

    public Date getStudentDate() 
    {
        return studentDate;
    }
    public void setStudentMajor(String studentMajor) 
    {
        this.studentMajor = studentMajor;
    }

    public String getStudentMajor() 
    {
        return studentMajor;
    }
    public void setStudentPhone(String studentPhone) 
    {
        this.studentPhone = studentPhone;
    }

    public String getStudentPhone() 
    {
        return studentPhone;
    }
    public void setAllStudentId(Long allStudentId) 
    {
        this.allStudentId = allStudentId;
    }

    public Long getAllStudentId() 
    {
        return allStudentId;
    }
    public void setStudentBy1(Long studentBy1) 
    {
        this.studentBy1 = studentBy1;
    }

    public Long getStudentBy1() 
    {
        return studentBy1;
    }
    public void setStudentBy2(String studentBy2) 
    {
        this.studentBy2 = studentBy2;
    }

    public String getStudentBy2() 
    {
        return studentBy2;
    }
    public void setStudentBy3(String studentBy3) 
    {
        this.studentBy3 = studentBy3;
    }

    public String getStudentBy3() 
    {
        return studentBy3;
    }
    public void setStudentHeadImage(String studentHeadImage) 
    {
        this.studentHeadImage = studentHeadImage;
    }

    public String getStudentHeadImage() 
    {
        return studentHeadImage;
    }
    public void setStudentPassword(String studentPassword) 
    {
        this.studentPassword = studentPassword;
    }

    public String getStudentPassword() 
    {
        return studentPassword;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("studentName", getStudentName())
            .append("studentNumber", getStudentNumber())
            .append("studentSex", getStudentSex())
            .append("studentAdd", getStudentAdd())
            .append("studentDate", getStudentDate())
            .append("studentMajor", getStudentMajor())
            .append("studentPhone", getStudentPhone())
            .append("allStudentId", getAllStudentId())
            .append("studentBy1", getStudentBy1())
            .append("studentBy2", getStudentBy2())
            .append("studentBy3", getStudentBy3())
            .append("studentHeadImage", getStudentHeadImage())
            .append("studentPassword", getStudentPassword())
            .append("teacherId", getTeacherId())
            .append("typeId", getTypeId())
            .append("userId", getUserId())
            .toString();
    }
}
